package com.rpp.session;

import com.rpp.pojo.Configuration;
import com.rpp.pojo.MapedStatement;

import java.util.List;

public interface Executor {

    <E> List<E> query(Configuration configuration, MapedStatement mapedStatement, Object... parameter) throws Exception;

    int update(Configuration configuration, MapedStatement mapedStatement, Object... parameter) throws Exception;
}
